package com.qbw.app.model;

import androidx.databinding.Bindable;

/**
 * @author QBW
 * @date 2019-09-04
 */
public class EstimateDistance extends BaseModel {

    private double fuel;
    private long lastUpdateTime;
    private double maxFuel;
    private double ratedPower;
    private String residualFuel;
    private int state;
    private float residualMileage;

    @Bindable
    public double getFuel() {
        return fuel;
    }

    public void setFuel(double fuel) {
        this.fuel = fuel;
    }

    @Bindable
    public long getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(long lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    @Bindable
    public double getMaxFuel() {
        return maxFuel;
    }

    public void setMaxFuel(double maxFuel) {
        this.maxFuel = maxFuel;
    }

    @Bindable
    public double getRatedPower() {
        return ratedPower;
    }

    public void setRatedPower(double ratedPower) {
        this.ratedPower = ratedPower;
    }

    @Bindable
    public String getResidualFuel() {
        return residualFuel;
    }

    public void setResidualFuel(String residualFuel) {
        this.residualFuel = residualFuel;
    }

    @Bindable
    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Bindable
    public float getResidualMileage() {
        return residualMileage;
    }

    public static class Response extends BaseResponse<EstimateDistance> {
    }
}
